package com.hpeng.sys.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.Table;

@Entity
@Table(name = "NOTICE")
public class Notice implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	private String notid;
	private String nottitle;
	private String notbody;
	private String notuser;
	private Date notdate;
	private String noturl;
	private String notname;
	private String notstatus;
	
	@Id
	@GeneratedValue(generator="system-uuid")
	@org.hibernate.annotations.GenericGenerator(name="system-uuid",strategy="uuid")
	public String getNotid() {
		return notid;
	}
	public void setNotid(String notid) {
		this.notid = notid;
	}
	
	@JoinColumn(name = "NOTTITLE")
	public String getNottitle() {
		return nottitle;
	}
	public void setNottitle(String nottitle) {
		this.nottitle = nottitle;
	}
	
	@JoinColumn(name = "NOTBODY")
	public String getNotbody() {
		return notbody;
	}
	public void setNotbody(String notbody) {
		this.notbody = notbody;
	}

	@JoinColumn(name = "NOTUSER")
	public String getNotuser() {
		return notuser;
	}
	public void setNotuser(String notuser) {
		this.notuser = notuser;
	}
	
	@JoinColumn(name = "NOTDATE")
	public Date getNotdate() {
		return notdate;
	}
	public void setNotdate(Date notdate) {
		this.notdate = notdate;
	}
	
	@JoinColumn(name = "NOTSTATUS")
	public String getNotstatus() {
		return notstatus;
	}
	public void setNotstatus(String notstatus) {
		this.notstatus = notstatus;
	}
	
	@JoinColumn(name = "NOTURL")
	public String getNoturl() {
		return noturl;
	}
	public void setNoturl(String noturl) {
		this.noturl = noturl;
	}
	@JoinColumn(name = "NOTNAME")
	public String getNotname() {
		return notname;
	}
	public void setNotname(String notname) {
		this.notname = notname;
	}
}
